package com.weijian.dal.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName spring_ai_chat_memory
 */
@Schema(description = "默认基础对话历史")
@TableName(value = "spring_ai_chat_memory", autoResultMap = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SpringAiChatMemory implements Serializable {

    @TableId("conversation_id")
    private String conversationId;

    @TableField("content")
    private String content;

    @TableField("type")
    @EnumValue
    private String type;

    @TableField("timestamp")
    private LocalDateTime timestamp;


}